package entityclasses;

import entityclasses.Person;
import java.io.*;
import java.util.*;

public class SocialApp {

    public static SocialApp instance() {
     
        if (instance == null)
            instance = new SocialApp();
        
        return instance;
    }
    private SocialApp()
    {
        registeredPersons = new Vector<Person>();
        relationshipTypes = new Vector<String>();
    }

	private static SocialApp instance = null;
        private Vector<Person> registeredPersons;
	private Vector<String> relationshipTypes;

    /**
     * @return the registeredPersons
     */
    public Vector<Person> getRegisteredPersons() {
        return registeredPersons;
    }

    /**
     * @param registeredPersons the registeredPersons to set
     */
    public void setRegisteredPersons(Vector<Person> registeredPersons) {
        this.registeredPersons = registeredPersons;
    }

    /**
     * @return the relationshipTypes
     */
    public Vector<String> getRelationshipTypes() {
        return relationshipTypes;
    }

    /**
     * @param relationshipTypes the relationshipTypes to set
     */
    public void setRelationshipTypes(Vector<String> relationshipTypes) {
        this.relationshipTypes = relationshipTypes;
    }

}
